﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html   xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>文件批量上传</title>
<style type="text/css">
body{margin: 0;background-color:#fff;}
</style>
<script type="text/javascript">
    function GetUploadFiles(filelist) {
        parent.AttachmentOperater(filelist);
        window.location.reload();
    }
</script>
<script type="text/javascript" src="#{dir}static/_libs/swfobject.js"></script>
</head>
<body scroll="no" id="body">
<form id="form1" runat="server">
<div id="swfDiv"></div>
<script type="text/javascript">
    var flashvars = {};
    flashvars.url = encodeURIComponent("#{UploadPage}");
    flashvars.fileFilter = "#{upfile_pictype}";
    flashvars.maxSize = "#{MaxFile2}";
    flashvars.maxNumber = "100";
    var params = {};
    params.quality = "high";
    params.bgcolor = "#FFFFFF";
    params.allowScriptAccess = "sameDomain";
    params.allowfullscreen = "true";
    var attributes = {};
    attributes.id = "FileUploadApp";
    attributes.name = "FileUploadApp";
    swfobject.embedSWF("#{dir}static/flex3/admin/FileUpload.swf", "swfDiv", "510", "340", "9.0.0", "#{dir}static/flex3/expressInstall.swf", flashvars, params, attributes);
</script>
</form>
</body>
</html>